package vip.xiaozhao.paotui.intf.service;

import vip.xiaozhao.paotui.intf.entity.PaotuiWalletWithdraw;

import java.math.BigDecimal;

public interface PaotuiWalletWithdrawService {

    PaotuiWalletWithdraw loadById(int id);

    int insert(PaotuiWalletWithdraw walletWithdraw);

    int update(PaotuiWalletWithdraw walletWithdraw);

    boolean withdraw(BigDecimal withdrawAmount, int userId);
}
